<!DOCTYPE html>
<html>
    <head>
        <title>出差申请单</title>
		<meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" type="text/css" href="/general/erp5/public/static/layui/css/layui.css">
		<link rel="stylesheet" href="/general/erp4/static/layui/css/default.css?t=1586046995308" media="all">
		<link rel="stylesheet" type="text/css" href="/general/erp5/public/static/layui/css/customer.css">
    </head>
    <body>
	<div class="layui-fluid" id="LAY-component-grid-list">
		<div id="body_box" class="layui-row layui-col-space10 demo-list">
			<h2 style = "width: 100%;text-align: center;margin-bottom: 10px;margin-top: 10px;padding-bottom: 10px;border-bottom: 1px solid #000000;">月度计划表</h2>
			<form class="layui-form" action = "" method="post" enctype="multipart/form-data" style = "padding-top: 10px;">
				<div class="layui-form-item">
					<div class="layui-inline">
						<label class="layui-form-label">填报部门</label>
						<div class="layui-input-inline">
							<div class="layui-input-inline">
								<input type="text" name="department" lay-verify="title" class="layui-input">
							</div>
						</div>
					</div>
					<div class="layui-inline">
						<label class="layui-form-label">填报人</label>
						<div class="layui-input-inline">
							<div class="layui-input-inline">
								<input type="text" name="user_name" lay-verify="people" class="layui-input" value = "{$username}" disabled>
							</div>
						</div>
					</div>
					<div class="layui-inline">
						<label class="layui-form-label">出差计划单号</label>
						<div class="layui-input-inline">
							<div class="layui-input-inline">
								<input type="text" name="plan_num" lay-verify="order" class="layui-input" disabled>
							</div>
						</div>
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-inline">
						<table class="layui-table" lay-filter="test">
							<thead>
								<tr>
									<th style = "text-align: center;" rowspan="2">序号</th>
									<th style = "text-align: center;" colspan="2">申报部门</th>
									<th style = "text-align: center;" rowspan="2">申报人</th>
									<th style = "text-align: center;" rowspan="2">项目合同编号</th>
									<th style = "text-align: center;" rowspan="2">出差人</th>
									<th style = "text-align: center;" rowspan="2">出差人数</th>
									<th style = "text-align: center;" colspan="3">预计出差起止日期</th>
									<th style = "text-align: center;" colspan="3">出差信息</th>
									<th style = "text-align: center;" colspan="4">出差预算（元）</th>
									<th style = "text-align: center;" rowspan="2">备注</th>
									<th style="text-align: center" rowspan="2"><button type="button" class="layui-btn layui-btn-sm add-btn">添加</button></th>
								</tr>
								<tr>
									<th colspan="1" style = "text-align: center;">一级部门</th>
									<th colspan="1" style = "text-align: center;">二级部门</th>
									<th colspan="1" style = "text-align: center;">起</th>
									<th colspan="1" style = "text-align: center;">止</th>
									<th colspan="1" style = "text-align: center;">天数</th>
									<th colspan="1" style = "text-align: center;">出差地</th>
									<th colspan="1" style = "text-align: center;">客户名称</th>
									<th colspan="1" style = "text-align: center;">出差事由</th>
									<th colspan="1" style = "text-align: center;">交通费</th>
									<th colspan="1" style = "text-align: center;">住宿费</th>
									<th colspan="1" style = "text-align: center;">餐费</th>
									<th colspan="1" style = "text-align: center;">合计</th>
								</tr>
							</thead>
							<tbody class="addlists">
								<tr>
									<td>
										<input type="text" name="number1[]" class="layui-input" value="1">
									</td>
									<td>
										<input type="text" name="department1[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="department2[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="report_user[]" class="layui-input">
									</td>
									<td>
										<input type="number" name="contract_num[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="traveler[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="traveler_num[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="start_time[]" class="layui-input" id = "test1">
									</td>
									<td>
										<input type="text" name="end_time[]" class="layui-input" id = "test2">
									</td>
									<td>
										<input type="number" name="day_num[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="trip_address[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="customer_name[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="reason[]" class="layui-input">
									</td>
									<td>
										<input type="number" name="traffic_money[]" class="layui-input">
									</td>
									<td>
										<input type="number" name="hotel_money[]" class="layui-input">
									</td>
									<td>
										<input type="number" name="meal_money[]" class="layui-input">
									</td>
									<td>
										<input type="number" name="total_money[]" class="layui-input">
									</td>
									<td>
										<input type="text" name="remark[]" class="layui-input">
									</td>
									<td style="text-align: center"><button type="button" class="layui-btn layui-btn-sm layui-btn-danger btn-del" lay-event="del">删除</button></td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="submit" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="demo1">立即提交</button>
						<button type="reset" class="layui-btn layui-btn-sm layui-btn-danger">重置</button>
						<a href = "/general/erp5/public/tripapi/plan/index" class="layui-btn layui-btn-sm layui-btn-primary">返回</a>
					</div>
				</div>
			</form>
		</div>
	</div>
    </body>
    <script type="text/javascript" src = "/general/erp5/public/static/layui/layui.all.js"></script>
    <script type="text/javascript" src = "/general/erp5/public/static/layui/trip/travel_plan/triplan.js?v=1"></script>
    <script src="/general/erp5/public/static/layui/trip/jquery.min.js"></script>
    <script src="/general/erp5/public/static/layui/trip/travel_plan/indexplan.js"></script>
</html>